﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;
using Com.CMS263.DAO;

namespace Com.CMS263.BLL
{
    public class CommentResultBLL : BaseBLL<CommentResult>
    {
        public CommentResult entity = new CommentResult();
        CommentResultDAO dao = new CommentResultDAO();
        public override CommentResult GetModel()
        {
            return entity;
        }
        /// <summary>
        /// 查询任务的提交内容
        /// </summary>
        /// <param name="worker"></param>
        /// <param name="state"></param>
        /// <returns></returns>
        public IList<CommentResult> GetListPaging(int ComId)
        {
            return dao.GetListPaging(ComId);
        }
        public CommentResult GetComm(int ComId)
        {
            return dao.GetComm(ComId);
        }
    }
}
